@import '../global.less';


  
.share-item{
  .item-con {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    .item-title{
      padding: 0 0 20px 20px;
      line-height: 30px;
      font-size: 20px;
      font-weight: bold;
    }
  }
  textarea {
    width: 100%;
    height: 300px;
    resize: none;
  }
}


.el-form-item {
  display: flex;
  margin-bottom: 22px;
  &.item-txt{
    float: right;
    width: 20%;
    text-align: right;
    font-size: 16px;
    margin-bottom: 0;
    height: 40px;
    span{
      color: #006699;
      font-weight: bold;
    }
  }
}

.el-form--inline {
  .el-form-item {
    display: inline-flex;
    margin-bottom: 25px;
    margin-right: 10px;
    align-items: center;
  }

  .el-form-item__content {
    display: inline-block;
    width: 255px;
    margin-left: 0;
    vertical-align: top;
  }

  &.big-item {
    position: relative;
    display: block;
    padding-left: 125px;

    .el-form-item__label {
      position: absolute;
      left: 0;
    }

    .el-form-item__content {
      display: inline-block;
      width: 100%;
    }
  }
}

// .el-form-item::after,
// .el-form-item__content::after {
//   clear: both;
// }

.el-form-item .el-input__validateIcon {
  display: none;
}

.el-form-item__label {
  width: 120px;
  padding: 0 8px 0 0;
  line-height: 18px;
  font-size: @font-size*13/14;
  color: @label-color;
  text-align: right;
  vertical-align: middle;
}

.el-form-item__content {
  position: relative;
  flex: 1;
  line-height: 32px;
  font-size: @font-size;

  .input-box {
    min-height: 32px;
    padding: 7px;
    border: 1px solid @border-color;
    border-radius: @radius;
  }
}

.el-date-editor--date,
.el-date-editor--datetime {
  .el-input__inner {
    padding: 0 6px;
  }
}

// .el-form-item__content::after,
// .el-form-item__content::before {
//   display: table;
//   content: "";
// }

.el-form-item__error {
  color: @error-color;
  font-size: @font-size*12/14;
  line-height: 1;
  padding-top: 4px;
  position: absolute;
  top: 100%;
  left: 0;
}

.el-form-item__error--inline {
  position: relative;
  top: auto;
  left: auto;
  display: inline-block;
  margin-left: 10px;
}

.el-form-item.is-required .el-form-item__label:before {
  content: '*';
  color: @error-color;
  margin-right: 4px;
}

.el-form-item.is-error .el-input__inner,
.el-form-item.is-error .el-input__inner:focus,
.el-form-item.is-error .el-textarea__inner,
.el-form-item.is-error .el-textarea__inner:focus {
  border-color: @error-color;
}

.el-form-item.is-error .el-input-group__append .el-input__inner,
.el-form-item.is-error .el-input-group__prepend .el-input__inner {
  border-color: transparent;
}

.el-form-item.is-error .el-input__validateIcon {
  color: @error-color;
}

.form-btn {
  padding: 10px 0 25px 128px;
}

.fixed-layout {
  padding-top: 75px;
}

.fixed-section {
  position: fixed;
  top: 96px;
  left: 210px;
  right: 0;
  z-index: 100;
  display: flex;
  padding: 10px 25px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  align-items: center;

  .title {
    flex: 1;
    line-height: 20px;

    em {
      font-weight: 600;
      font-size: 18px;
      color: @dark-color;
    }

    .type {
      display: inline-block;
      padding: 1px 5px;
      margin-left: 10px;
      font-size: 14px;
      color: #fff;
      vertical-align: top;
      background-color: @base-color;
      border-radius: @radius;
    }

    .type-2 {
      background-color: @warning-color;
    }

    .type-3 {
      background-color: @danger-color;
    }
  }
}

.section {
  .panel-title {
    padding: 6px 12px;
    line-height: 35px;
    font-weight: 700;
    border-bottom-width: 0;

    &::after {
      .cl();
    }

    .title {
      position: relative;
      padding-left: 12px;
      border-left: 3px solid @base-color;
    }

    .title-right {
      float: right;
    }
  }

  .panel-content {
    padding-top: 20px;
    border: 1px solid @border-color;
  }
}

.section-form {
  .section {
    margin: 0 20px 20px;
  }
}

.section-filter {
  margin-bottom: 20px;

  .el-form-item {
    margin-bottom: 15px;
  }
}

.section-table {
  padding-bottom: 20px;
  .panel-content {
    padding-top: 0;
    border-width: 0;
  }

  .el-pagination {
    padding-bottom: 0;
  }
}

.section-panel {
  margin: 20px;
}

.section-tool {
  padding-bottom: 15px;

  button {
    margin-left: 10px;

    &:first-child {
      margin-left: 0;
    }
  }
}

.panel-list {
  position: relative;
  padding-top: 30px;
  padding-bottom: 10px;
  margin: 0 20px 20px;
  overflow: hidden;
  border: 1px solid @border-color;

  .pos-left {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    &::after {
      content: '';
      position: absolute;
      top: -47px;
      left: -33px;
      display: block;
      width: 80px;
      height: 80px;
      background-color: #2d8cf0;
      transform: rotate(52deg);
    }
  }

  .pos-right {
    position: absolute;
    bottom: -40px;
    right: -45px;
    z-index: 1;
    width: 80px;
    height: 80px;
    background-color: @base-color;
    border-radius: 100%;
  }

  .count {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 2;
    font-size: 18px;
    color: #fff;

  }

  .i-close {
    position: absolute;
    bottom: 45px;
    right: 50px;
    z-index: 2;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
  }
}

.el-form,
.form-box {
  .form-block {
    width: 100%;
    align-items: baseline;
  }
}

.form-block {
  .el-form-item__content {
    padding-right: 20px;
  }
}
.big-text {
  .el-form-item__label{
    width: 150px !important;
  }
  .el-form-item__content{
    margin-left: 70px;
  }
}

.el-form-item__content {
  .table-tool {
    padding: 0;
  }
}

.el-textarea {
  textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    min-height: 100px!important;
    padding: 10px;
    border: 1px solid @border-color;
    border-radius: @radius;
    box-sizing: border-box;

    &:focus {
      border-color: @base-color;
    }
  }
}

.el-upload {
  display: inline-block;
  outline: none;

  .el-upload__input {
    display: none;
  }
}

.el-upload__tip {
  line-height: 25px;
  font-size: @font-size*12/14;
  color: @red-color;
}

.el-upload-list {
  line-height: 25px;
  font-size: @font-size;

  .el-icon-document {
    margin-right: 5px;
    line-height: 16px;
    font-family: 'iconfont' !important;
    font-style: normal;
    font-size: @font-size*16/14;
    vertical-align: middle;

    &::before {
      content: "\e657";
    }
  }

  .el-icon-close-tip {
    display: none;
  }

  li {
    position: relative;
    width: 100%;
    margin-top: 5px;
    outline: none;
    box-sizing: border-box;
    border-radius: @radius;
    transition: all .5s cubic-bezier(.55,0,.1,1);

    a {
      color: @label-color;
    }

    &:hover {
      background-color: #f2f2f2;

      a {
        color: @base-color;
      }

      .el-icon-upload-success {
        display: none;
      }

      .el-icon-close {
        display: block;
      }
    }
  }

  .el-upload-list__item-name {
    display: block;
    padding-left: 3px;
    margin-right: 30px;
  }

  .el-upload-list__item-status-label {
    position: absolute;
    right: 5px;
    top: 0;
    display: none;
  }

  .el-icon-upload-success {
    line-height: 14px;
    font-family: 'iconfont' !important;
    font-style: normal;
    font-size: @font-size;
    color: @success-color;
    vertical-align: middle;
    cursor: pointer;

    &::before {
      content: "\e77e";
    }
  }

  .el-icon-close {
    position: absolute;
    top: 6px;
    right: 5px;
    opacity: .75;
    display: none;
    line-height: 14px;
    font-family: 'iconfont' !important;
    font-style: normal;
    font-size: @font-size;
    vertical-align: middle;
    cursor: pointer;

    &::before {
      content: "\e646";
    }
  }

  .is-success {
    .el-upload-list__item-status-label {
      display: block;
    }
  }
}

.el-progress {
  position: relative;
  padding: 3px;
  line-height: 1;
}

.el-progress-bar {
  display: inline-block;
  width: 100%;
  padding-right: 50px;
  margin-right: -55px;
  vertical-align: middle;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  .el-progress-bar__inner {
    height: 2px;
    background-color: @base-color;
  }
}

.el-progress__text {
  display: inline-block;
  margin-left: 10px;
  line-height: 1;
  font-size: @font-size*12/14;
  color: @info-color;
  vertical-align: middle;
}

.form-box {
  width: 72%;
  margin: 30px auto;

  &::after {
    display: table;
    content: '';
    clear: both;
  }
}

.form-item {
  display: inline-block;
  margin-bottom: 15px;
  vertical-align: top;
}

.form-label {
  float: left;
  width: 128px;
  padding: 10px 12px 10px 0;
  line-height: 1;
  color: #999;
  text-align: right;
  vertical-align: middle;
}

.form-text {
  min-width: 250px;
  min-height: 32px;
  margin-left: 128px;
  line-height: 32px;
  vertical-align: middle;
}

.step-content {
  margin: 0 20px;

  .step-item {
    text-align: top;
    position: relative;
    padding-bottom: 15px;
    padding-left: 25px;
    border-left: 1px solid @border-color;

    &:last-child {
      border-left: none;
    }

    & > span {
      display: inline-block;
      vertical-align: top;
    }

    &:before {
      display: block;
      position: absolute;
      left: -6.5px;
      top: 0;
      content: '';
      height: 9px;
      width: 9px;
      border-radius: 50%;
      border: 2px solid #55a0f0;
      z-index: 2;
      background: #fff;
    }

    .con-item {
      margin-bottom: 14px;
    }

    .step-date {
      position: relative;
      margin-right: 20px;
      z-index: 1;
    }

    .step-week {
      margin-right: 44px;
    }

    .step-time {
      margin-right: 44px;
    }
  }

}
@media screen and (max-width:1480px) {
  .section-filter {
    .el-form-item__label {
      width: 98px;
    }

    .el-form--inline {
      .el-form-item__content {
        width: 230px;
      }
    }
  }

  .section-form {
    .section-content {
      padding-left: 15px;
      padding-right: 15px;
    }

    .el-form--inline {
      .el-form-item__content {
        width: 230px;
      }
    }
  }
}
@import 'table.less';
@import 'select.less';
@import 'radio.less';
@import 'checkbox.less';
@import 'tree.less';
@import 'date-picker.less';
@import 'tag.less';
@import 'cascader.less';